package cn.est.dao;

import cn.est.pojo.Classify;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ClassifyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Classify record);

    int insertSelective(Classify record);

    Classify selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Classify record);

    int updateByPrimaryKey(Classify record);

    /**
     * 获取上架的类别信息
     * @return
     */
    List<Classify> listUpClassify();
}